<%= render :partial => 'company/sub_nav' %>

<% if logged_in? %>
	<ul class="right">
		<li class="horizontal"><%= link_to "delete", job_path(@job), :confirm => "Are you sure?", :method => :delete %></li>
		<li class="horizontal">|</li>
		<li class="horizontal"><%= link_to "edit", edit_job_path(@job) %></li>
	</ul>
	<br/>
<% end %>

<div id="border_top"><!-- Image for top border.  See CSS. --></div>
<div id="show_job_name">
	<h1><%= @job.name %> for the <%= @job.department %> Group</h1>
</div>
<div id="border_bottom"><!-- Image for top border.  See CSS. --></div>

<div id="show_job_body">
  <div class="text_area">
		<%= @job.body %>
		<p>
			<%= mail_to "jobs-hr@vailsys.com", "Email Cover Letter and Resume to jobs-hr@vailsys.com", :subject => "Candidate for Vail Job Posting - #{ @job.name }" %>
		</p>
	</div>
</div>